home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / emacs_src_18_58.lha / emacs-18.58 / etc / make-docfile.diffs < prev    next >
Text File  |  1992-05-17  |  1KB  |  44 lines

  1. *** emacs-18.58/etc/make-docfile.c    Fri Oct 25 19:43:28 1991
  2. --- GNUEMACS:etc/make-docfile.c    Sun Apr 26 10:04:22 1992
  3. ***************
  4. *** 57,64 ****
  5.         i += 2;
  6.       }
  7.   
  8. !   for (; i < argc; i++)
  9.       err_count += scan_file (argv[i]);    /* err_count seems to be {mis,un}used */
  10.   #ifndef VMS
  11.     exit (err_count);            /* see below - shane */
  12.   #endif /* VMS */
  13. --- 57,86 ----
  14.         i += 2;
  15.       }
  16.   
  17. ! #ifdef AMIGA
  18. !   {
  19. !     char fn[512], *fpos;
  20. !     int c;
  21. !     c = getchar();
  22. !     do
  23. !       {
  24. !     while (c == ' ' || c == '\n' || c == '\t') c = getchar();
  25. !     if (c == EOF) break;
  26. !     fpos = fn;
  27. !     do *fpos++ = c;
  28. !     while ((c = getchar()) != EOF && c != ' ' && c != '\t' && c != '\n');
  29. !     *fpos = 0;
  30. !     fprintf(stderr, "doc file %s\n", fn);
  31. !     err_count += scan_file (fn); /* err_count seems to be {mis,un}used */
  32. !       }
  33. !     while (1);
  34. !   }
  35. ! #else
  36. !   for (; i < argc; i++) fprintf(stderr, "doc file %s\n", argv[i]),
  37.       err_count += scan_file (argv[i]);    /* err_count seems to be {mis,un}used */
  38. + #endif
  39.   #ifndef VMS
  40.     exit (err_count);            /* see below - shane */
  41.   #endif /* VMS */
  42.